package September6;

  class plane_keji extends pilot_plane{
    private int seatnum;
    private int height;
    private int weight;

    public plane_keji() {
    }

    public plane_keji(int seatnum, int height, int weight) {
        this.seatnum = seatnum;
        this.height = height;
        this.weight = weight;
    }

    public int getSeatnum() {
        return seatnum;
    }

    public void setSeatnum(int seatnum) {
        this.seatnum = seatnum;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

     @Override
     public void accelerate() {
         System.out.println("客机加速");
     }

     @Override
     public void land() {
         System.out.println("客机着陆");
     }

     @Override
     public void takeOff() {
         System.out.println("客机起飞");
     }
 }
